/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package cassoftModels;

/**
 * This class models a students guardians.
 * @author Seamus
 */
public class Guardian extends Person{
    String relationship;
    int phoneNo;
    String mailBoxNo;
    String residentAddress;
    String education;
    
    public Guardian(String surname, String firstName, int age, char gender, 
            String relationship, int phoneNo, String mailBoxNo,
            String residentAddress, String education){
        super(surname, firstName, age, gender);
        this.relationship = relationship;
        this.phoneNo = phoneNo;
        this.mailBoxNo = mailBoxNo;
        this.residentAddress = residentAddress;
        this.education = education;
    }
    
    /**
     * Default constructor.
     */
    public Guardian(){
        super();
        this.relationship = null;
        this.phoneNo = -1;
        this.mailBoxNo = null;
        this.residentAddress = null;
        this.education = null;
    }
    
    /**
     * 
     * @param relationship 
     */
    public void setRelatioship(String relationship){
        this.relationship = relationship;
    }
    
    /**
     * 
     * @param phoneNo 
     */
    public void setPhoneNumber(int phoneNo){
        this.phoneNo = phoneNo;
    }
    
    /**
     * 
     * @param mailBoxNo 
     */
    public void setMailBoxNo(String mailBoxNo){
        this.mailBoxNo = mailBoxNo;
    }
    
    /**
     * 
     * @param residentAddress 
     */
    public void setResidentAddress(String residentAddress){
        this.residentAddress = residentAddress;
    }
    
    /**
     * 
     * @param education 
     */
    public void setEducation(String education){
        this.education = education;
    }
    
    /**
     * 
     * @return 
     */
    public String getRelationship(){
        return relationship;
    }
    
    /**
     * 
     * @return 
     */
    public int getPhoneNumber(){
        return phoneNo;
    }
    
    /**
     * 
     * @return 
     */
    public String getMailBoxNo(){
        return mailBoxNo;
    }
    
    /**
     * 
     * @return 
     */
    public String getResidentAddress(){
        return residentAddress;
    }
    
    /**
     * 
     * @return 
     */
    public String getEducation(){
        return education;
    }
}
